package net.guerlab.smart.platform.user.web.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 操作记录
 *
 * @author guer
 */
@Data
public class OperationLogExcelExport {

    /**
     * 操作记录ID
     */
    @ExcelProperty(value = "操作记录ID", index = 0)
    private Long operationLogId;

    /**
     * 应用名称
     */
    @ExcelProperty(value = "应用名称", index = 1)
    private String applicationName;

    /**
     * 操作时间
     */
    @ExcelProperty(value = "操作时间", index = 2)
    private LocalDateTime operationTime;

    /**
     * 操作内容
     */
    @ExcelProperty(value = "操作内容", index = 3)
    private String operationContent;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID", index = 4)
    private Long userId;

    /**
     * 用户名
     */
    @ExcelProperty(value = "用户名", index = 5)
    private String username;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名", index = 6)
    private String name;

    /**
     * 操作参数
     */
    @ExcelProperty(value = "操作参数", index = 7)
    private String operationParams;
}
